home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / nihcl-30.lha / nihcl-3.0 / test / orderedcltn.v < prev    next >
Text File  |  1990-05-19  |  888b  |  101 lines

  1.  
  2. Test class OrderedCltn
  3. b = (1,1)
  4. (1,2)
  5. (1,3)
  6. (1,3)
  7. b.first(): (1,1)
  8. b.last(): (1,3)
  9. b = (1,1)
  10. (1,19)
  11. (1,2)
  12. (1,21)
  13. (1,3)
  14. (1,3)
  15. b.after(Point(1,2)): (1,21)
  16. b.before(Point(1,2)): (1,19)
  17. b.includes(C): 1
  18. c == b: 1
  19. b.compare(c): 0
  20. c = 
  21. b = (1,1)
  22. (1,19)
  23. (1,2)
  24. (1,21)
  25. (1,3)
  26. (1,3)
  27. (1,1)
  28. (1,19)
  29. (1,2)
  30. (1,21)
  31. (1,3)
  32. (1,3)
  33. b.compare(c): 1
  34. c.compare(b): -1
  35. b.includes(C): 1
  36. b = (1,1)
  37. (1,19)
  38. (1,2)
  39. (1,21)
  40. (1,3)
  41. (1,1)
  42. (1,19)
  43. (1,2)
  44. (1,21)
  45. (1,3)
  46. (1,3)
  47. c == b: 0
  48. b.compare(c): -2
  49. c&b:(1,1)
  50. (1,19)
  51. (1,2)
  52. (1,21)
  53. (1,3)
  54. (1,3)
  55. (1,1)
  56. (1,19)
  57. (1,2)
  58. (1,21)
  59. (1,3)
  60. (1,1)
  61. (1,19)
  62. (1,2)
  63. (1,21)
  64. (1,3)
  65. (1,3)
  66. b.indexOfSubCollection(c): -1
  67. c = (1,1)
  68. (1,19)
  69. (1,2)
  70. (1,21)
  71. (1,3)
  72. (1,3)
  73. b.replaceFrom(1,3,c): (1,1)
  74. (1,1)
  75. (1,19)
  76. (1,2)
  77. (1,3)
  78. (1,1)
  79. (1,19)
  80. (1,2)
  81. (1,21)
  82. (1,3)
  83. (1,3)
  84. b.sort(): (1,1)
  85. (1,1)
  86. (1,1)
  87. (1,2)
  88. (1,2)
  89. (1,3)
  90. (1,3)
  91. (1,3)
  92. (1,19)
  93. (1,19)
  94. (1,21)
  95. b.asSet(): (1,1)
  96. (1,19)
  97. (1,3)
  98. (1,21)
  99. (1,2)
  100. c.removeId(D)->isSame(D): 1
  101.